package gen.kaynak.navitrack.messageProcessStrategy;

import gen.kaynak.navitrack.messageProcessState.*;

public class SignExistenceCheckProcessor implements IMessageProcessStrategy {

	@Override
	public boolean ProcessChar(char c, MessageProcessStateManager mpm) {
		if (mpm.getNowProcessing() == "Latitude") {
			if (mpm.signIsNotAssigned()) {
				return false;
			}
			return true;
		} else if (mpm.getNowProcessing() == "Longitude") {
			if (mpm.signIsNotAssigned()) {
				return false;
			}
			return true;
		} else {
			return false;
		}
	}

}
